package com.kucunProject.model;

import java.util.Date;

public class CategoryInfo {

	private String ciId;
	private int productClassfy;
	private String ciName;
	private Date createDate;
	private String remark;
	private int isDelete;

	public String getCiId() {
		return ciId;
	}

	public void setCiId(String ciId) {
		this.ciId = ciId;
	}

	public int getProductClassfy() {
		return productClassfy;
	}

	public void setProductClassfy(int productClassfy) {
		this.productClassfy = productClassfy;
	}

	public String getCiName() {
		return ciName;
	}

	public void setCiName(String ciName) {
		this.ciName = ciName;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(int isDelete) {
		this.isDelete = isDelete;
	}

	public CategoryInfo(String ciId, int productClassfy, String ciName,
			Date createDate, String remark, int isDelete) {
		super();
		this.ciId = ciId;
		this.productClassfy = productClassfy;
		this.ciName = ciName;
		this.createDate = createDate;
		this.remark = remark;
		this.isDelete = isDelete;
	}

	public CategoryInfo() {
		super();
	}
	
	public String judge(int i){
		String s = "";
		
		if(i == 0){
			s = "清辅料";
		}else if(i == 1){
			s = "主材";
		}
		
		return s;
	}

}
